import Koa from 'koa'
import { koaBody } from 'koa-body'
import router from './router/index.js'

const app = new Koa()

app.use(koaBody())

router(app)

app.listen(3000)

console.log(`http://127.0.0.1:3000`)
